__author__ = 'CrazyCode'

number = 23
running = True

while running:
    guess = int(input("输入一个整数:"))
    if guess == number:
        print("恭喜你，猜对了！")
        running = False
    elif guess > number:
        print("错误，猜的有点多了。")
    else:
        print("错误，猜的有点少了。")
print("游戏结束。^_^")